import numpy as np

from player.base.player import Player


class RandomPlayer(Player):

    def __init__(self):
        super().__init__()
        self.width = 8

    def step(self, board, pos, code, down_pos):
        return np.random.randint(0, self.width), np.random.randint(0, self.width)
